﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MINERP.BLL.Statistics;
using MINERP.Statistics.IView;
using System.Data;

namespace MINERP.Statistics.Presenter
{
     public class PWaste
    {
         private  IWaste _view;
         private WasteBll _bll;
        public  PWaste(IView.IWaste view) 
        {
            _view = view;
            _bll = new WasteBll();
        }
        public void Init()
        {
            //_view.BingDingPaperFace(_bll.GetPaperFace());
            //_view.BingdingPaperType(_bll.GetPaperType());
            _view.BingDingOperator(_bll.GetUserInfoList());
        }


        public DataSet GetWaste()
        {
            DataSet wr = _bll.GetWasterNew(_view.UserNameList,_view.StartTime, _view.EndTime);
            return wr;

        }
     }
}
